﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="Configuration">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Install">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ConfigFile" type="xs:string" />
              <xs:element name="InstallDir" type="xs:string" />
              <xs:element name="DataDir" type="xs:string" />
              <xs:element name="PIDKey" type="xs:string" />
              <xs:element name="SKU" type="xs:string" />
              <xs:element name="OfflineInstall" type="xs:boolean" />
              <xs:element name="PauseAfterInstall" type="xs:boolean" />
              <xs:element name="RemoteInstall">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="ParallelInstall" type="xs:boolean" />
                  </xs:sequence>
                  <xs:attribute name="Enable" type="xs:boolean" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="AutoAdminLogon">
                <xs:complexType>
                  <xs:attribute name="Enable" type="xs:boolean" use="required" />
                  <xs:attribute name="Password" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="Disable">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="LoopbackCheck" type="xs:boolean" />
                    <xs:element name="UnusedServices" type="xs:boolean" />
                    <xs:element name="IEEnhancedSecurity" type="xs:boolean" />
                    <xs:element name="CertificateRevocationListCheck" type="xs:boolean" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="SPVersion" type="xs:string" use="required" />
          </xs:complexType>
        </xs:element>
        <xs:element name="Farm">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Passphrase" type="xs:string" />
              <xs:element name="Account">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Username" type="xs:string" />
                    <xs:element name="Password" type="xs:string" />
                  </xs:sequence>
                  <xs:attribute name="AddToLocalAdminsDuringSetup" type="xs:boolean" use="required" />
                  <xs:attribute name="LeaveInLocalAdmins" type="xs:boolean" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="CentralAdmin">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Database" type="xs:string" />
                    <xs:element name="Port" type="xs:string" />
                    <xs:element name="UseSSL" type="xs:boolean" />
                  </xs:sequence>
                  <xs:attribute name="Provision" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="Database">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="DBServer" type="xs:string" />
                    <xs:element name="DBAlias">
                      <xs:complexType>
                        <xs:attribute name="Create" type="xs:boolean" use="required" />
                        <xs:attribute name="DBInstance" type="xs:string" use="required" />
                        <xs:attribute name="DBPort" type="xs:string" use="required" />
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="DBPrefix" type="xs:string" />
                    <xs:element name="ConfigDB" type="xs:string" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="Services">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="SandboxedCodeService">
                      <xs:complexType>
                        <xs:attribute name="Start" type="xs:string" use="required" />
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="ClaimsToWindowsTokenService">
                      <xs:complexType>
                        <xs:attribute name="Start" type="xs:string" use="required" />
                        <xs:attribute name="UpdateAccount" type="xs:string" use="required" />
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="SMTP">
                      <xs:complexType>
                        <xs:attribute name="Install" type="xs:string" use="required" />
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="OutgoingEmail">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="SMTPServer" type="xs:string" />
                          <xs:element name="EmailAddress" type="xs:string" />
                          <xs:element name="ReplyToEmail" type="xs:string" />
                        </xs:sequence>
                        <xs:attribute name="Configure" type="xs:boolean" use="required" />
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="IncomingEmail">
                      <xs:complexType>
                        <xs:attribute name="Start" type="xs:string" use="required" />
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="DistributedCache">
                      <xs:complexType>
                        <xs:attribute name="Start" type="xs:string" use="required" />
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="WorkflowTimer">
                      <xs:complexType>
                        <xs:attribute name="Start" type="xs:string" use="required" />
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="FoundationWebApplication">
                      <xs:complexType>
                        <xs:attribute name="Start" type="xs:string" use="required" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="ManagedAccounts">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element maxOccurs="unbounded" name="ManagedAccount">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Username" type="xs:string" />
                          <xs:element name="Password" type="xs:string" />
                        </xs:sequence>
                        <xs:attribute name="CommonName" type="xs:string" use="required" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="ObjectCacheAccounts">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="SuperUser" type="xs:string" />
                    <xs:element name="SuperReader" type="xs:string" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="Logging">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="IISLogs">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Path" type="xs:string" />
                        </xs:sequence>
                        <xs:attribute name="Compress" type="xs:boolean" use="required" />
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="ULSLogs">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="LogLocation" type="xs:string" />
                          <xs:element name="LogDiskSpaceUsageGB" type="xs:string" />
                          <xs:element name="DaysToKeepLogs" type="xs:string" />
                          <xs:element name="LogCutInterval" type="xs:string" />
                        </xs:sequence>
                        <xs:attribute name="Compress" type="xs:boolean" use="required" />
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="UsageLogs">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="UsageLogDir" type="xs:string" />
                          <xs:element name="UsageLogMaxSpaceGB" type="xs:string" />
                          <xs:element name="UsageLogCutTime" type="xs:string" />
                        </xs:sequence>
                        <xs:attribute name="Compress" type="xs:boolean" use="required" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="WebApplications">
          <xs:complexType>
            <xs:sequence>
              <xs:element maxOccurs="unbounded" name="WebApplication">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Database">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Name" type="xs:string" />
                          <xs:element name="DBServer" type="xs:string" />
                          <xs:element name="DBAlias">
                            <xs:complexType>
                              <xs:attribute name="Create" type="xs:boolean" use="required" />
                              <xs:attribute name="DBInstance" type="xs:string" use="required" />
                              <xs:attribute name="DBPort" type="xs:string" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="ManagedPaths">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element maxOccurs="unbounded" name="ManagedPath">
                            <xs:complexType>
                              <xs:attribute name="relativeUrl" type="xs:string" use="required" />
                              <xs:attribute name="explicit" type="xs:boolean" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="SiteCollections">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element maxOccurs="unbounded" name="SiteCollection">
                            <xs:complexType>
                              <xs:simpleContent>
                                <xs:extension base="xs:string">
                                  <xs:attribute name="siteUrl" type="xs:string" use="required" />
                                  <xs:attribute name="HostNamedSiteCollection" type="xs:boolean" use="required" />
                                  <xs:attribute name="Owner" type="xs:string" use="required" />
                                  <xs:attribute name="Name" type="xs:string" use="required" />
                                  <xs:attribute name="Description" type="xs:string" use="required" />
                                  <xs:attribute name="CustomDatabase" type="xs:string" use="required" />
                                  <xs:attribute name="SearchUrl" type="xs:string" use="required" />
                                  <xs:attribute name="CustomTemplate" type="xs:boolean" use="required" />
                                  <xs:attribute name="Template" type="xs:string" use="required" />
                                  <xs:attribute name="LCID" type="xs:string" use="required" />
                                  <xs:attribute name="Locale" type="xs:string" use="required" />
                                  <xs:attribute name="Time24" type="xs:boolean" use="required" />
                                </xs:extension>
                              </xs:simpleContent>
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="type" type="xs:string" use="required" />
                  <xs:attribute name="name" type="xs:string" use="required" />
                  <xs:attribute name="applicationPool" type="xs:string" use="required" />
                  <xs:attribute name="url" type="xs:string" use="required" />
                  <xs:attribute name="port" type="xs:string" use="required" />
                  <xs:attribute name="UseHostHeader" type="xs:boolean" use="required" />
                  <xs:attribute name="AddURLToLocalIntranetZone" type="xs:boolean" use="required" />
                  <xs:attribute name="GrantCurrentUserFullControl" type="xs:boolean" use="required" />
                  <xs:attribute name="useClaims" type="xs:boolean" use="required" />
                  <xs:attribute name="useBasicAuthentication" type="xs:boolean" use="required" />
                  <xs:attribute name="useOnlineWebPartCatalog" type="xs:boolean" use="required" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="AddURLsToHOSTS" type="xs:boolean" use="required" />
          </xs:complexType>
        </xs:element>
        <xs:element name="ServiceApps">
          <xs:complexType>
            <xs:sequence>
              <xs:element maxOccurs="unbounded" name="ManagedMetadataServiceApp">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Database">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Name" type="xs:string" />
                          <xs:element name="DBServer" type="xs:string" />
                          <xs:element name="DBAlias">
                            <xs:complexType>
                              <xs:attribute name="Create" type="xs:boolean" use="required" />
                              <xs:attribute name="DBInstance" type="xs:string" use="required" />
                              <xs:attribute name="DBPort" type="xs:string" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="Provision" type="xs:string" use="required" />
                  <xs:attribute name="Name" type="xs:string" use="required" />
                  <xs:attribute name="ProxyName" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="UserProfileServiceApp">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Database">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="ProfileDB" type="xs:string" />
                          <xs:element name="SyncDB" type="xs:string" />
                          <xs:element name="SocialDB" type="xs:string" />
                          <xs:element name="DBServer" type="xs:string" />
                          <xs:element name="DBAlias">
                            <xs:complexType>
                              <xs:attribute name="Create" type="xs:boolean" use="required" />
                              <xs:attribute name="DBInstance" type="xs:string" use="required" />
                              <xs:attribute name="DBPort" type="xs:string" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="Provision" type="xs:string" use="required" />
                  <xs:attribute name="Name" type="xs:string" use="required" />
                  <xs:attribute name="ProxyName" type="xs:string" use="required" />
                  <xs:attribute name="MySiteHostLocation" type="xs:string" use="required" />
                  <xs:attribute name="MySiteManagedPath" type="xs:string" use="required" />
                  <xs:attribute name="EnableNetBIOSDomainNames" type="xs:boolean" use="required" />
                  <xs:attribute name="StartProfileSync" type="xs:boolean" use="required" />
                  <xs:attribute name="CreateDefaultSyncConnection" type="xs:boolean" use="required" />
                  <xs:attribute name="SyncConnectionAccount" type="xs:string" use="required" />
                  <xs:attribute name="SyncConnectionAccountPassword" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="EnterpriseSearchService">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="EnterpriseSearchServiceApplications">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element maxOccurs="unbounded" name="EnterpriseSearchServiceApplication">
                            <xs:complexType>
                              <xs:sequence>
                                <xs:element name="Database">
                                  <xs:complexType>
                                    <xs:sequence>
                                      <xs:element name="Name" type="xs:string" />
                                      <xs:element name="DBServer" type="xs:string"/>
                                      <xs:element name="DBAlias">
                                        <xs:complexType>
                                          <xs:attribute name="Create" type="xs:boolean" use="required" />
                                          <xs:attribute name="DBInstance" type="xs:string" use="required" />
                                          <xs:attribute name="DBPort" type="xs:string" use="required" />
                                        </xs:complexType>
                                      </xs:element>
                                    </xs:sequence>
                                  </xs:complexType>
                                </xs:element>
                                <xs:element name="ApplicationPool">
                                  <xs:complexType>
                                    <xs:attribute name="Name" type="xs:string" use="required" />
                                  </xs:complexType>
                                </xs:element>
                                <xs:element name="CrawlComponent">
                                  <xs:complexType>
                                    <xs:attribute name="Provision" type="xs:string" use="required" />
                                  </xs:complexType>
                                </xs:element>
                                <xs:element name="QueryComponent">
                                  <xs:complexType>
                                    <xs:attribute name="Provision" type="xs:string" use="required" />
                                  </xs:complexType>
                                </xs:element>
                                <xs:element name="SearchQueryAndSiteSettingsComponent">
                                  <xs:complexType>
                                    <xs:attribute name="Provision" type="xs:string" use="required" />
                                  </xs:complexType>
                                </xs:element>
                                <xs:element name="AdminComponent">
                                  <xs:complexType>
                                    <xs:sequence>
                                      <xs:element name="ApplicationPool">
                                        <xs:complexType>
                                          <xs:attribute name="Name" type="xs:string" use="required" />
                                        </xs:complexType>
                                      </xs:element>
                                    </xs:sequence>
                                    <xs:attribute name="Provision" type="xs:string" use="required" />
                                  </xs:complexType>
                                </xs:element>
                                <xs:element name="IndexComponent">
                                  <xs:complexType>
                                    <xs:attribute name="Provision" type="xs:string" use="required" />
                                  </xs:complexType>
                                </xs:element>
                                <xs:element name="ContentProcessingComponent">
                                  <xs:complexType>
                                    <xs:attribute name="Provision" type="xs:string" use="required" />
                                  </xs:complexType>
                                </xs:element>
                                <xs:element name="AnalyticsProcessingComponent">
                                  <xs:complexType>
                                    <xs:attribute name="Provision" type="xs:string" use="required" />
                                  </xs:complexType>
                                </xs:element>
                                <xs:element name="Proxy">
                                  <xs:complexType>
                                    <xs:sequence>
                                      <xs:element name="ProxyGroup">
                                        <xs:complexType>
                                          <xs:attribute name="Name" type="xs:string" use="required" />
                                        </xs:complexType>
                                      </xs:element>
                                    </xs:sequence>
                                    <xs:attribute name="Name" type="xs:string" use="required" />
                                    <xs:attribute name="Partitioned" type="xs:boolean" use="required" />
                                  </xs:complexType>
                                </xs:element>
                                <xs:element name="SearchCenterUrl" type="xs:string" />
                              </xs:sequence>
                              <xs:attribute name="Name" type="xs:string" use="required" />
                              <xs:attribute name="FailoverDatabaseServer" type="xs:string" use="required" />
                              <xs:attribute name="Partitioned" type="xs:boolean" use="required" />
                              <xs:attribute name="Partitions" type="xs:unsignedByte" use="required" />
                              <xs:attribute name="SearchServiceApplicationType" type="xs:string" use="required" />
                              <xs:attribute name="ContentAccessAccount" type="xs:string" use="required" />
                              <xs:attribute name="ContentAccessAccountPassword" type="xs:string" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="Provision" type="xs:string" use="required" />
                  <xs:attribute name="ContactEmail" type="xs:string" use="required" />
                  <xs:attribute name="ConnectionTimeout" type="xs:string" use="required" />
                  <xs:attribute name="AcknowledgementTimeout" type="xs:string" use="required" />
                  <xs:attribute name="ProxyType" type="xs:string" use="required" />
                  <xs:attribute name="IgnoreSSLWarnings" type="xs:boolean" use="required" />
                  <xs:attribute name="InternetIdentity" type="xs:string" use="required" />
                  <xs:attribute name="CustomIndexLocation" type="xs:string" use="required" />
                  <xs:attribute name="PerformanceLevel" type="xs:string" use="required" />
                  <xs:attribute name="ShareName" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="StateService">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Database">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Name" type="xs:string" />
                          <xs:element name="DBServer" type="xs:string" />
                          <xs:element name="DBAlias">
                            <xs:complexType>
                              <xs:attribute name="Create" type="xs:boolean" use="required" />
                              <xs:attribute name="DBInstance" type="xs:string" use="required" />
                              <xs:attribute name="DBPort" type="xs:string" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="Provision" type="xs:string" use="required" />
                  <xs:attribute name="Name" type="xs:string" use="required" />
                  <xs:attribute name="ProxyName" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="WebAnalyticsService">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Database">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="ReportingDB" type="xs:string" />
                          <xs:element name="StagingDB" type="xs:string" />
                          <xs:element name="DBServer" type="xs:string" />
                          <xs:element name="DBAlias">
                            <xs:complexType>
                              <xs:attribute name="Create" type="xs:boolean" use="required" />
                              <xs:attribute name="DBInstance" type="xs:string" use="required" />
                              <xs:attribute name="DBPort" type="xs:string" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="Provision" type="xs:string" use="required" />
                  <xs:attribute name="Name" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="SPUsageService">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Database">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Name" type="xs:string" />
                          <xs:element name="DBServer" type="xs:string" />
                          <xs:element name="DBAlias">
                            <xs:complexType>
                              <xs:attribute name="Create" type="xs:boolean" use="required" />
                              <xs:attribute name="DBInstance" type="xs:string" use="required" />
                              <xs:attribute name="DBPort" type="xs:string" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="Provision" type="xs:string" use="required" />
                  <xs:attribute name="Name" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="SecureStoreService">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Database">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Name" type="xs:string" />
                          <xs:element name="DBServer" type="xs:string" />
                          <xs:element name="DBAlias">
                            <xs:complexType>
                              <xs:attribute name="Create" type="xs:boolean" use="required" />
                              <xs:attribute name="DBInstance" type="xs:string" use="required" />
                              <xs:attribute name="DBPort" type="xs:string" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="Provision" type="xs:string" use="required" />
                  <xs:attribute name="Name" type="xs:string" use="required" />
                  <xs:attribute name="ProxyName" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="BusinessDataConnectivity">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Database">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Name" type="xs:string" />
                          <xs:element name="DBServer" type="xs:string" />
                          <xs:element name="DBAlias">
                            <xs:complexType>
                              <xs:attribute name="Create" type="xs:boolean" use="required" />
                              <xs:attribute name="DBInstance" type="xs:string" use="required" />
                              <xs:attribute name="DBPort" type="xs:string" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="Provision" type="xs:string" use="required" />
                  <xs:attribute name="Name" type="xs:string" use="required" />
                  <xs:attribute name="ProxyName" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="WordAutomationService">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Database">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Name" type="xs:string" />
                          <xs:element name="DBServer" type="xs:string" />
                          <xs:element name="DBAlias">
                            <xs:complexType>
                              <xs:attribute name="Create" type="xs:boolean" use="required" />
                              <xs:attribute name="DBInstance" type="xs:string" use="required" />
                              <xs:attribute name="DBPort" type="xs:string" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="Provision" type="xs:string" use="required" />
                  <xs:attribute name="Name" type="xs:string" use="required" />
                  <xs:attribute name="ProxyName" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="AppManagementService">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Database">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Name" type="xs:string" />
                          <xs:element name="DBServer" type="xs:string" />
                          <xs:element name="DBAlias">
                            <xs:complexType>
                              <xs:attribute name="Create" type="xs:boolean" use="required" />
                              <xs:attribute name="DBInstance" type="xs:string" use="required" />
                              <xs:attribute name="DBPort" type="xs:string" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="Provision" type="xs:string" use="required" />
                  <xs:attribute name="Name" type="xs:string" use="required" />
                  <xs:attribute name="ProxyName" type="xs:string" use="required" />
                  <xs:attribute name="AppDomain" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="SubscriptionSettingsService">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Database">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Name" type="xs:string" />
                          <xs:element name="DBServer" type="xs:string" />
                          <xs:element name="DBAlias">
                            <xs:complexType>
                              <xs:attribute name="Create" type="xs:boolean" use="required" />
                              <xs:attribute name="DBInstance" type="xs:string" use="required" />
                              <xs:attribute name="DBPort" type="xs:string" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="Provision" type="xs:string" use="required" />
                  <xs:attribute name="Name" type="xs:string" use="required" />
                  <xs:attribute name="AppSiteSubscriptionName" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="WorkManagementService">
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:extension base="xs:string">
                      <xs:attribute name="Provision" type="xs:string" use="required" />
                      <xs:attribute name="Name" type="xs:string" use="required" />
                      <xs:attribute name="ProxyName" type="xs:string" use="required" />
                    </xs:extension>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
              <xs:element name="MachineTranslationService">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Database">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Name" type="xs:string" />
                          <xs:element name="DBServer" type="xs:string" />
                          <xs:element name="DBAlias">
                            <xs:complexType>
                              <xs:attribute name="Create" type="xs:boolean" use="required" />
                              <xs:attribute name="DBInstance" type="xs:string" use="required" />
                              <xs:attribute name="DBPort" type="xs:string" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="Provision" type="xs:string" use="required" />
                  <xs:attribute name="Name" type="xs:string" use="required" />
                  <xs:attribute name="ProxyName" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="PowerPointConversionService">
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:extension base="xs:string">
                      <xs:attribute name="Provision" type="xs:string" use="required" />
                      <xs:attribute name="Name" type="xs:string" use="required" />
                      <xs:attribute name="ProxyName" type="xs:string" use="required" />
                    </xs:extension>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="EnterpriseServiceApps">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ExcelServices">
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:extension base="xs:string">
                      <xs:attribute name="Provision" type="xs:string" use="required" />
                      <xs:attribute name="Name" type="xs:string" use="required" />
                      <xs:attribute name="UnattendedIDUser" type="xs:string" use="required" />
                      <xs:attribute name="UnattendedIDPassword" type="xs:string" use="required" />
                    </xs:extension>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
              <xs:element name="VisioService">
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:extension base="xs:string">
                      <xs:attribute name="Provision" type="xs:string" use="required" />
                      <xs:attribute name="Name" type="xs:string" use="required" />
                      <xs:attribute name="ProxyName" type="xs:string" use="required" />
                      <xs:attribute name="UnattendedIDUser" type="xs:string" use="required" />
                      <xs:attribute name="UnattendedIDPassword" type="xs:string" use="required" />
                    </xs:extension>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
              <xs:element name="AccessService">
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:extension base="xs:string">
                      <xs:attribute name="Provision" type="xs:string" use="required" />
                      <xs:attribute name="Name" type="xs:string" use="required" />
                      <xs:attribute name="ProxyName" type="xs:string" use="required" />
                    </xs:extension>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
              <xs:element name="AccessServices">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Database">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Name" type="xs:string" />
                          <xs:element name="DBServer" type="xs:string" />
                          <xs:element name="DBAlias">
                            <xs:complexType>
                              <xs:attribute name="Create" type="xs:boolean" use="required" />
                              <xs:attribute name="DBInstance" type="xs:string" use="required" />
                              <xs:attribute name="DBPort" type="xs:string" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="Provision" type="xs:string" use="required" />
                  <xs:attribute name="Name" type="xs:string" use="required" />
                  <xs:attribute name="ProxyName" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="PerformancePointService">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Database">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Name" type="xs:string" />
                          <xs:element name="DBServer" type="xs:string" />
                          <xs:element name="DBAlias">
                            <xs:complexType>
                              <xs:attribute name="Create" type="xs:boolean" use="required" />
                              <xs:attribute name="DBInstance" type="xs:string" use="required" />
                              <xs:attribute name="DBPort" type="xs:string" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="Provision" type="xs:string" use="required" />
                  <xs:attribute name="Name" type="xs:string" use="required" />
                  <xs:attribute name="ProxyName" type="xs:string" use="required" />
                  <xs:attribute name="UnattendedIDUser" type="xs:string" use="required" />
                  <xs:attribute name="UnattendedIDPassword" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="OfficeWebApps">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ExcelService">
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:extension base="xs:string">
                      <xs:attribute name="Provision" type="xs:string" use="required" />
                      <xs:attribute name="Name" type="xs:string" use="required" />
                      <xs:attribute name="ProxyName" type="xs:string" use="required" />
                      <xs:attribute name="UnattendedIDUser" type="xs:string" use="required" />
                      <xs:attribute name="UnattendedIDPassword" type="xs:string" use="required" />
                    </xs:extension>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
              <xs:element name="WordViewingService">
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:extension base="xs:string">
                      <xs:attribute name="Provision" type="xs:string" use="required" />
                      <xs:attribute name="Name" type="xs:string" use="required" />
                      <xs:attribute name="ProxyName" type="xs:string" use="required" />
                    </xs:extension>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
              <xs:element name="PowerPointService">
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:extension base="xs:string">
                      <xs:attribute name="Provision" type="xs:string" use="required" />
                      <xs:attribute name="Name" type="xs:string" use="required" />
                      <xs:attribute name="ProxyName" type="xs:string" use="required" />
                    </xs:extension>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="Install" type="xs:boolean" use="required" />
            <xs:attribute name="ConfigFile" type="xs:string" use="required" />
            <xs:attribute name="PIDKeyOWA" type="xs:string" use="required" />
          </xs:complexType>
        </xs:element>
        <xs:element name="ProjectServer">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ServiceApp">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Database">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="Name" type="xs:string" />
                          <xs:element name="DBServer" type="xs:string" />
                          <xs:element name="DBAlias">
                            <xs:complexType>
                              <xs:attribute name="Create" type="xs:boolean" use="required" />
                              <xs:attribute name="DBInstance" type="xs:string" use="required" />
                              <xs:attribute name="DBPort" type="xs:string" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="Provision" type="xs:string" use="required" />
                  <xs:attribute name="Name" type="xs:string" use="required" />
                  <xs:attribute name="ProxyName" type="xs:string" use="required" />
                  <xs:attribute name="ManagedPath" type="xs:string" use="required" />
                  <xs:attribute name="ServiceAccount" type="xs:string" use="required" />
                  <xs:attribute name="ServiceAccountPassword" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="Install" type="xs:boolean" use="required" />
            <xs:attribute name="ConfigFile" type="xs:string" use="required" />
            <xs:attribute name="PIDKeyProjectServer" type="xs:string" use="required" />
          </xs:complexType>
        </xs:element>
        <xs:element name="AdobePDF">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="iFilter">
                <xs:complexType>
                  <xs:attribute name="Install" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="Icon">
                <xs:complexType>
                  <xs:attribute name="Configure" type="xs:boolean" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="MIMEType">
                <xs:complexType>
                  <xs:attribute name="Configure" type="xs:boolean" use="required" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ForeFront">
          <xs:complexType>
            <xs:attribute name="Install" type="xs:string" use="required" />
            <xs:attribute name="ConfigFile" type="xs:string" use="required" />
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="Environment" type="xs:string" use="required" />
      <xs:attribute name="Version" type="xs:string" use="required" />
    </xs:complexType>
  </xs:element>
</xs:schema>